package com.yunshang.shoppingmall.service.impl;

import com.yunshang.shoppingmall.entity.opratorcostCommission;
import com.yunshang.shoppingmall.mapper.OpratorcostCommissionMapper;
import com.yunshang.shoppingmall.service.OpratorcostCommissionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("opratorcostCommissionService")
public class OpratorcostCommissionServiceImpl implements OpratorcostCommissionService {

    @Autowired
    OpratorcostCommissionMapper opratorcostCommissionMapper;

    @Override
    public int deleteByPrimaryKey(Integer ocId) {
        return opratorcostCommissionMapper.deleteByPrimaryKey(ocId);
    }

    @Override
    public int insert(opratorcostCommission record) {
        return opratorcostCommissionMapper.insert(record);
    }

    @Override
    public int insertSelective(opratorcostCommission record) {
        return opratorcostCommissionMapper.insertSelective(record);
    }

    @Override
    public opratorcostCommission selectByPrimaryKey(Integer ocId) {
        return opratorcostCommissionMapper.selectByPrimaryKey(ocId);
    }

    @Override
    public int updateByPrimaryKeySelective(opratorcostCommission record) {
        return opratorcostCommissionMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(opratorcostCommission record) {
        return updateByPrimaryKey(record);
    }
}
